package tags

import apiserver_data "git.hortorgames.com/serverless/htgserver/apiserver/data"
import apiserver_handlers "git.hortorgames.com/serverless/htgserver/apiserver/handlers"
import reflectex "git.hortorgames.com/orange/tang/reflectex"

func Register() {
	reflectex.TypeInfoOfObj((*apiserver_data.TDGame)(nil)).AddTag(`mongodb:"id:id,db:tang,c:games"`)
	reflectex.TypeInfoOfObj((*apiserver_handlers.MidAntiResend)(nil)).GetMethodInfo("Run").AddTag(`httpMid:""`)
	reflectex.TypeInfoOfObj((*apiserver_handlers.MidFindGame)(nil)).GetMethodInfo("Run").AddTag(`httpMid:""`)
	reflectex.TypeInfoOfObj((*apiserver_handlers.MidVerifySession)(nil)).GetMethodInfo("Verify").AddTag(`httpMid:""`)
	reflectex.TypeInfoOfObj((*apiserver_handlers.MidVerifySign)(nil)).GetMethodInfo("Verify").AddTag(`httpMid:""`)
}
